package kz.kstu.aecdemo.desktop.ui.page;

import kz.kstu.aecdemo.desktop.ui.dialog.LoginDialog;
import org.apache.log4j.Logger;

import javax.swing.*;


/**
 * @author Filipp_Stankevich
 *         created: 08.09.11 13:45
 */
public class MainPage {

    private final static Logger LOGGER = Logger.getLogger(MainPage.class);

    private static final String MESSAGE_TITLE = "AEC";


    private JPanel rootPanel;

    public void initStaticComponents() {

    }


    public MainPage() {
    }

    public JPanel getRootPanel() {
        return rootPanel;
    }

    private void showMessage(String message, int messageType) {
        JOptionPane.showMessageDialog(getRootPanel(), message, MESSAGE_TITLE, messageType);
    }
}
